package com.sso.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TblUsers entity. @author MyEclipse Persistence Tools
 */

public class TblUsers implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 3708895096829184542L;
	private Integer userId;
	private String userName;
	private String password;
	private Boolean valid;
	private Integer cardType;
	private String cardNum;
	private Date regDate;
	private String remark;
	private Set tblUserApps = new HashSet(0);

	// Constructors

	/** default constructor */
	public TblUsers() {
	}

	/** minimal constructor */
	public TblUsers(Integer userId, Boolean valid, Integer cardType, String remark) {
		this.userId = userId;
		this.valid = valid;
		this.cardType = cardType;
		this.remark = remark;
	}

	/** full constructor */
	public TblUsers(Integer userId, String userName, String password, Boolean valid, Integer cardType, String cardNum, Date regDate, String remark,
			Set tblUserApps) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.valid = valid;
		this.cardType = cardType;
		this.cardNum = cardNum;
		this.regDate = regDate;
		this.remark = remark;
		this.tblUserApps = tblUserApps;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Boolean getValid() {
		return this.valid;
	}

	public void setValid(Boolean valid) {
		this.valid = valid;
	}

	public Integer getCardType() {
		return this.cardType;
	}

	public void setCardType(Integer cardType) {
		this.cardType = cardType;
	}

	public String getCardNum() {
		return this.cardNum;
	}

	public void setCardNum(String cardNum) {
		this.cardNum = cardNum;
	}

	public Date getRegDate() {
		return this.regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getTblUserApps() {
		return this.tblUserApps;
	}

	public void setTblUserApps(Set tblUserApps) {
		this.tblUserApps = tblUserApps;
	}

}